<template>
	<view class="goods-reward">
		<image src="https://wechat-pictures-1301970825.file.myqcloud.com/wxapp/pickup/icon_tishi.png" mode="">
		</image>
		<text
			class="goods-reward_text" style="word-break: break-all;">惊喜提示：确认本单提货，将会获得{{(integral > 0 ? integral + '积分' : '') + (integral > 0 && redMoney > 0 ? '和' : '') + (redMoney  > 0 ? (redMoney / 100) + '元' : '')}}奖励！</text>
	</view>
</template>

<script>
	export default {
		name: "reward-tip",
		props: {
			integral: {
				type: String,
				default: ""
			},
			redMoney: {
				type: String,
				default: ""
			}
		}
	}
</script>

<style lang="scss" scoped>
	.goods-reward {
		width: 100%;
		height: 124rpx;
		background: #FFE4E4;
		font-weight: 400;
		font-size: 28rpx;
		line-height: 50rpx;
		color: #F33F02;
		text-align: left;
		font-style: normal;
		padding: 12rpx 10rpx;
		box-sizing: border-box;
		margin-top: 30rpx;

		image {
			width: 32rpx;
			height: 32rpx;
			position: relative;
			top: 6rpx;
			margin-right: 8rpx;
		}
	}
	
	.goods-reward_text {
		font-size: 32upx;
	}
</style>